package com.fs.procure.pojo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fs.common.core.pojo.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 退货申请对象 rta
 * 
 * @author lan
 * @date 2024-08-15
 */
public class Rta extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long rtaId;

    /** 订单编号 */

    private Long stoProId;

    /** 退货时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date rtaDate;

    /** 操作者编号 */
    private Long stoActor;

    /** 退货状态 */
    private Long rtaState;

    /** 备注 */
    private String rtaNote;
//    /**关联到订单对象*/
//    private OrderDetail orderDetail;

    public void setRtaId(Long rtaId) 
    {
        this.rtaId = rtaId;
    }

    public Long getRtaId() 
    {
        return rtaId;
    }
    public void setStoProId(Long stoProId) 
    {
        this.stoProId = stoProId;
    }

    public Long getStoProId() 
    {
        return stoProId;
    }
    public void setRtaDate(Date rtaDate) 
    {
        this.rtaDate = rtaDate;
    }

    public Date getRtaDate() 
    {
        return rtaDate;
    }
    public void setStoActor(Long stoActor) 
    {
        this.stoActor = stoActor;
    }

    public Long getStoActor() 
    {
        return stoActor;
    }
    public void setRtaState(Long rtaState) 
    {
        this.rtaState = rtaState;
    }

    public Long getRtaState() 
    {
        return rtaState;
    }
    public void setRtaNote(String rtaNote) 
    {
        this.rtaNote = rtaNote;
    }

    public String getRtaNote() 
    {
        return rtaNote;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rtaId", getRtaId())
            .append("stoProId", getStoProId())
            .append("rtaDate", getRtaDate())
            .append("stoActor", getStoActor())
            .append("rtaState", getRtaState())
            .append("rtaNote", getRtaNote())
            .toString();
    }
}
